package com.oom;

import com.classloader.User;

import java.util.ArrayList;

public class OOMTest {
    public static void main(String[] args) {
        ArrayList<User> list = new ArrayList<>();
        while (true){
            list.add(new User());
        }
    }
}
